package com.lx.chapter3.controller;

import com.smart4j.framework.annotation.Action;
import com.smart4j.framework.annotation.Controller;
import com.smart4j.framework.bean.View;

/**
 * 首页
 *
 * @author 段誉
 * @create 2019-04-01 19:32
 */
@Controller
public class IndexController {
  @Action(method = "GET", path = "/")
  public View index() {
    return new View("index.jsp");
  }
}
